<template>
  <div class="test-font">{{ msg }}</div>
</template>
<script lang="ts">
import { defineComponent, ref } from "vue";
export default defineComponent({
  async setup() {
    return {
      msg: "this is loaded result",
    };
    // return new Promise((resolve, reject) => {
    //   setTimeout(() => {
    //     resolve({
    //       msg: "this is loaded result",
    //     });
    //     reject(new Error());
    //   }, 2000);
    // });
  }
});
</script>
